package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.User;

public interface IUserDAO {

	public abstract void save(User transientInstance);

	public abstract void delete(User persistentInstance);

	public abstract User findById(java.lang.Integer id);

	public abstract List findByExample(User instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByEmail(Object email);

	public abstract List findByPassword(Object password);

	public abstract List findByWeibo(Object weibo);

	public abstract List findByQq(Object qq);

	public abstract List findByTelephone(Object telephone);

	public abstract List findByUnreadActivityMessageNum(
			Object unreadActivityMessageNum);

	public abstract List findByUnreadSystemMessageNum(
			Object unreadSystemMessageNum);

	public abstract List findByIsPublicPerson(Object isPublicPerson);

	public abstract List findByTag(Object tag);

	public abstract List findAll();

	public abstract User merge(User detachedInstance);

	public abstract void attachDirty(User instance);

	public abstract void attachClean(User instance);

}